
package org.springblade.modules.videoanswer.service.impl;

import org.springblade.modules.videoanswer.entity.QuestionItem;
import org.springblade.modules.videoanswer.vo.QuestionItemVO;
import org.springblade.modules.videoanswer.mapper.QuestionItemMapper;
import org.springblade.modules.videoanswer.service.IQuestionItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 *  服务实现类
 *
 * @author jiangyandong
 * @since 2021-03-24
 */
@Service
public class QuestionItemServiceImpl extends ServiceImpl<QuestionItemMapper, QuestionItem> implements IQuestionItemService {

	@Override
	public IPage<QuestionItemVO> selectQuestionItemPage(IPage<QuestionItemVO> page, QuestionItemVO questionItem) {
		return page.setRecords(baseMapper.selectQuestionItemPage(page, questionItem));
	}

}
